package com.cb.eureka.client.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.cb.eureka.client.service.ProcessService;

@RestController
public class ProcessController {
	private Logger log = LoggerFactory.getLogger(ProcessController.class);
	@Autowired
	private ProcessService processService;
	
    @RequestMapping("/hi")
    public String home() {
    	log.info("===call trace2===");
       return processService.process("caib");
    }
}
